package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专项模板对象 special_template
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class SpecialTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public String getChildrens() {
        return childrens;
    }

    public void setChildrens(String childrens) {
        this.childrens = childrens;
    }

    private String childrens;
    /** 自增id */
    private Long id;

    /** 专项名称 */
    @Excel(name = "专项名称")
    private String specialName;

    /** 级别 */
    @Excel(name = "级别")
    private String level;

    /** 父级id */
    @Excel(name = "父级id")
    private String parentId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSpecialName(String specialName) 
    {
        this.specialName = specialName;
    }

    public String getSpecialName() 
    {
        return specialName;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specialName", getSpecialName())
            .append("level", getLevel())
            .append("parentId", getParentId())
            .toString();
    }
}
